package data.wg;

import java.util.ArrayList;
import java.util.List;


public class WGProvince extends AbstractWoTCWBotListEntity
{
	public String clan, status,name,url,mapId,periphery,verboseName,landingUrl;
	public int primetimeturn,revenue,clanId,capuredAt,landingCompetitorsCount,combatsCount;
	public long primetime;
	public boolean mutiny;
	public Long landingFinalBattleTime;
	public String FULLNAME;
	
	public List<WGProvince> neighbours = new ArrayList<WGProvince>();
	public List<WGCombat> combats = new ArrayList<WGCombat>();
	
	//TODO chips
	
	
	public WGProvince()
	{
		landingCompetitorsCount=0;
	}
	
	

	/**
	 * will NOT return true if combats_count changes
	 */
	@Override
	public boolean equals(Object o)
	{
		if(o instanceof WGProvince)
		{
			WGProvince p = (WGProvince)o;
			return p.landingCompetitorsCount == landingCompetitorsCount;
		}
		return false;
	}
}
